package com.xkdx.caipiao.open;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import com.xkdx.caipiao.module.network.AbsAction;

public class OpenHistoryQueryAction extends AbsAction {

	private String index, size, simplename;

	public  OpenHistoryQueryAction(String index, String size, String name) {
		this.index = index;
		this.size = size;
		this.simplename = name;
	}

	@Override
	public void constructRequest() {
		HashMap<String, String> map = new HashMap<String, String>();
		
		map.put("pageindex", index);
		map.put("pagesize", size);
		map.put("lotteryid", simplename);
		String json = constructJson(map);
		Parameter parameter = new Parameter("Query", "BeforeOrderAwardQuery", json);

		List<Parameter> list = new ArrayList<Parameter>();
		list.add(parameter);
		requestData = constructMod(list);

	}

}
